package com.match.competition_sub.service;

import com.match.competition_sub.entity.Course;
import com.baomidou.mybatisplus.extension.service.IService;
import com.match.competition_sub.entity.vo.CourseQuery;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AdiosF
 * @since 2021-09-21
 */
public interface CourseService extends IService<Course> {
    //通过Excel导入课程信息
    void addCourseByExcel(MultipartFile file, CourseService courseService);

    //分页条件查询课程信息
    Map<String, Object> findCourseByQueryPage(long current, long limit, CourseQuery courseQuery);
}
